-- BlockConst

-- 亮度分级定义
Brightness = {}
Brightness.Grade = 16
Brightness.Max = Brightness.Grade - 1

-- 方块定义
Block.blocks = {}

Block.air = Block(0,0,0)
Block.air.solidBlock = false
Block.air.opacityBlock = true
Block.air.lightDelay = 1
Block.grass = GrassBlock(1,1,80)
Block.soil = Block(2,2,80)
Block.stone = Block(3,3,300)
Block.cobbleStone = Block(4,4,300)
Block.bedRock = Block(5,5,1000000)
Block.plank = Block(6,7,170)
Block.oakPlank = Block(7,8,170)
Block.trunk = TreeBlock(8,10,170)
Block.leaf = LeafBlock(9,14,20)--40
Block.leaf.lightDelay = 1
Block.sand = SandBlock(10,11,40)
Block.water = LiquidBlock(11,12)
Block.water.lightDelay = 3
Block.lava = LiquidBlock(12,13)
Block.lava.lightDelay = 0
Block.lava.brightness = Brightness.Max
Block.coalOre = Block(13,15,300)
Block.ironOre = Block(14,16,330)
Block.goldOre = Block(15,17,380)
Block.diamondOre = Block(16,18,450)
Block.redStoneOre = Block(17,19,400)
Block.grassBush = Bush(18,23,5)
Block.grassBush.lightDelay = 2
Block.oakSeed = Bush(19,22,5)
Block.cactus = CactusBlock(25,33,30)
Block.sandStone = SandStoneBlock(20,28,300)
Block.spooge = SpoogeBlock(26, 48, 40)
Block.soilSand = Block(27, 42, 40)
Block.gravel = SandBlock(31,20,40)
Block.ice = IceBlock(32,58,120)
Block.ice.lightDelay = 2
